<?php

/**
 * panel actions.
 *
 * @package    dentist
 * @subpackage panel
 * @author     Brus
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class panelActions extends sfActions {

    /**
     * Executes index action
     *
     * @param sfRequest $request A request object
     */
    public function executeIndex(sfWebRequest $request) {
        $usuarioId = $this->getUser()->getAttribute('id');
        $this->Consultas = ConsultaPeer::getConsultasPorFecha($usuarioId, date('y-m-d'));
    }

}
